//
//  TableCellView.swift
//  onemeetingmac
//
//  Created by 张衡 on 2020/2/27.
//  Copyright © 2020 onemeeting. All rights reserved.
//

import Foundation

class TableCellView: NSTableCellView {
    
    //var _backgroundStyle: NSView.BackgroundStyle?
    override var backgroundStyle: NSView.BackgroundStyle {
        get {
            return super.backgroundStyle
        }
        set {
            super.backgroundStyle = newValue
            
            if newValue == NSView.BackgroundStyle.dark {
                self.layer?.backgroundColor = color_gray(40).cgColor
            }else {
                self.layer?.backgroundColor = color_gray(40).cgColor
            }
        }
    }
    
}
